package com.wuyou.programmingIdeas.Chapter9interface.part1.p1;

import com.wuyou.programmingIdeas.Chapter9interface.part1.Processor;

/**
 * @Description
 * @Author 无忧
 * @Date 2023/12/19 21:10
 */
public class Upcase implements Processor {
    @Override
    public String name() {
        return getClass().getSimpleName();
    }


    public String process(Object input) {
        return ((String) input).toUpperCase();
    }
}
